
<?php
    include('library/auto_load.php');
?>
<!DOCTYPE html>
<html xmlns:fb="http://ogp.me/ns/fb#">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
        <title>Điện Lạnh Việt Mỹ - <?php $site_title = core::getParam('site_title'); echo (!empty($site_title) ? ' - '.core::getParam('site_title') : ''); ?></title>
        <?php core::getHeader(); ?>
        <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
        <link href="<?php echo URL::getLink('css/bootstrap/css/bootstrap-theme.css');?>" rel="stylesheet" />
        <link href="<?php echo URL::getLink('css/bootstrap/css/bootstrap.css');?>" rel="stylesheet" />
        <link href="<?php echo URL::getLink('css/colorbox.css');?>" rel="stylesheet" />
        <link href="<?php echo URL::getLink('css/main.css');?>" rel="stylesheet" />
        <link href="<?php echo URL::getLink('css/style.css');?>" rel="stylesheet" />
        <script type="text/javascript" src="<?php echo URL::getLink('scripts/jquery-2.1.1.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo URL::getLink('scripts/bootstrap/bootstrap.min.js'); ?>"></script>
        
        <script type="text/javascript" src="<?php echo URL::getLink('scripts/Image-lightbox/jquery.colorbox.js'); ?>"></script>
        
        <script type="text/javascript" src="<?php echo URL::getLink('scripts/main.js'); ?>"></script>
    </head>

    <body>
        <div class="container">

            <div id="header" class="row">
                <?php includeBlock('layout/header');?>
            </div>
        </div>
        <div class="container-fluid" id="block_1">
            <?php includeBlock('layout/main_menu');?>
        </div>
        <div class="container">
            <div class="row">
            
                <div id="left_content" class="col-xs-12 col-md-2">
                    <?php if(defined('IS_ADMIN_PANEL')) includeBlock('home/menu');?>
                    <?php includeBlock('category/category');?>
                </div>
                
                <div id="main_content" class="col-xs-12 col-md-8">
                    <?php core::getContent();?>
                </div>
                
                <div id="right_content" class="col-xs-12 col-md-2 hidden-xs"></div>
            </div>

            <div id="footer" class="row">
                <?php includeBlock('layout/footer');?>
            </div>
        </div>
    </body>
</html>